﻿using System.Collections;
using System.Reflection;
using System.Web.Mvc;
using System.Web.Routing;
using Kratos.Framework.Infrastructures;
using Microsoft.Practices.Unity;

namespace Kratos.Modules.UserBlog
{
    public class UserBlogModule : IKratosModule, IKratosDataProvider
    {
        private readonly IUnityContainer _container;

        public UserBlogModule(IUnityContainer container)
        {
            _container = container;
        }

        #region IKratosModule Members

        public void Initialize()
        {
            
        }

        public void RegisterRoutes(RouteCollection routes)
        {
            
        }

        public void RegisterModelBinders(ModelBinderDictionary modelBinders)
        {
            
        }

        public void RegisterBizServices()
        {
            
        }

        public void RegisterAction()
        {
            var assembly = Assembly.GetExecutingAssembly();
            SecurityHelper.SetActionByAssembly(assembly);
        }

        public void Unload()
        {
            
        }

        #endregion

        #region IKratosDataProvider Members

        public void ConfigDataProvider()
        {
            
        }

        #endregion
    }
}
